xen/arm: Rework lpae_table
authorJulien Grall <julien.grall@arm.com>
Mon, 16 Jul 2018 17:27:04 +0000 (18:27 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 22 Aug 2018 15:34:34 +0000 (16:34 +0100)
commit85a1255a661d097b33fbd064d035f02bbf99bea6
treeebffe6e1996bbf6af57344098190b1b233c6b126
parent7e6a733405b4f4221da51b6c4e5a735b8e64ede8
xen/arm: Rework lpae_table

Currently, lpae_table can only work on entry from any level other than
3. Make it work with any level by extending the prototype to pass the
level.

At the same time, rename the function to lpae_is_mapping so naming stay
consistent accross all lpae_* helpers.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c
xen/include/asm-arm/lpae.h